// vue.config.js文件部分内容
// getPages方法生成pages对象：没有参数（即不指定打包的页面）时，打包所有页面；若有参数（即指定打包页面）时，
// const path = require("path");
// const glob = require("glob");
// const baseDir = filePath => path.basename(path.dirname(filePath));
// console.log('baseDir', baseDir);
const target = process.env.TARGET || 'default'
console.log('target', target)

module.exports = {
    publicPath: "./",
    assetsDir: 'static',
    lintOnSave: process.env.NODE_ENV === 'development',
    productionSourceMap: false,
    devServer: {
        // port: port,
        open: false,
        // https: process.env.VUE_APP_USE_HTTPS === 'true',
        overlay: {
            warnings: false,
            errors: true
        },
        // proxy,
        // after
    },
    // pages: pages
}
